package infaraway.strategy.duck;

import infaraway.strategy.Duck;
import infaraway.strategy.Fly.Fly1;
import infaraway.strategy.Quack.Quack1;

/**
 * Created by :Infaraway
 * DATE : 2017/4/25
 * Time : 23:05
 * Funtion :
 */
public class Duck1 extends Duck {

    public Duck1(){
        flyBehavior = new Fly1();
        quackBehavior = new Quack1();
    }
    @Override
    public void display() {
        System.out.println("this is duck 1...");
    }
}
